package org.dromara.business.domain;

import lombok.NoArgsConstructor;
import org.dromara.common.tenant.core.TenantEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.math.BigDecimal;

import java.io.Serial;

/**
 * 订单对象 order_form
 *
 * @author Lion Li
 * @date 2025-01-22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@TableName("order_form")
public class OrderForm extends TenantEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "order_id")
    private Long orderId;

    /**
     * 用户id
     */
    private String userId;

    /**
     * 产品id
     */
    private Long productId;

    /**
     * 用户名
     */
    private String userName;

    /**
     * 产品名称
     */
    private String productName;

    /**
     * 价格
     */
    private BigDecimal price;

    /**
     * 数量
     */
    private Long number;

    /**
     * 备注
     */
    private String remark;


}
